﻿<Window x:Class="TranThiQuynhUyen.cau1"
        xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
        xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
        Title="cau1" Height="300" Width="400">
    <Grid>
        <Grid.ColumnDefinitions>
            <ColumnDefinition Width="289*"/>
            <ColumnDefinition Width="3*"/>
        </Grid.ColumnDefinitions>
        <Label Content="Nhập a" HorizontalAlignment="Left" Margin="23,30,0,0" VerticalAlignment="Top"/>
        <Label Content="Nhập b" HorizontalAlignment="Left" Margin="22,71,0,0" VerticalAlignment="Top"/>
        <TextBox HorizontalAlignment="Left" Height="23" Margin="162,30,0,0" TextWrapping="Wrap" Name="txtsoa" VerticalAlignment="Top" Width="120"/>
        <TextBox HorizontalAlignment="Left" Height="23" Margin="162,71,0,0" TextWrapping="Wrap" Name="txtsob" VerticalAlignment="Top" Width="120"/>
        <Label Content="Kết Quả" HorizontalAlignment="Left" Margin="23,117,0,0" VerticalAlignment="Top" Width="63"/>
        <TextBox HorizontalAlignment="Left" Height="23" Margin="162,117,0,0" TextWrapping="Wrap" Name="txtkq" VerticalAlignment="Top" Width="120"/>
     
        <Button Content="Cộng" Name="cong" Click="cong_Click_1" HorizontalAlignment="Right" VerticalAlignment="Top" Width="75" Margin="0,164,302,0"/>
        
        <Button Content="Nhân"  Name="nhan" Click="nhan_Click_1" HorizontalAlignment="Left" VerticalAlignment="Top" Width="75" Margin="207,164,0,0"/>
        <Button Content="Chia" Name="chia" Click="chia_Click_1" HorizontalAlignment="Left" VerticalAlignment="Top" Width="75" Margin="294,164,0,0"/>
        <Button Content="Thoát" Click="Button_Click_1" HorizontalAlignment="Right" VerticalAlignment="Top" Width="75" Margin="0,218,151,0"/>
        <Grid Grid.ColumnSpan="2">
            <Grid.ColumnDefinitions>
                <ColumnDefinition Width="289*"/>
                <ColumnDefinition Width="3*"/>
            </Grid.ColumnDefinitions>
            <Label Content="Nhập a" HorizontalAlignment="Left" Margin="23,30,0,0" VerticalAlignment="Top"/>
            <Label Content="Nhập b" HorizontalAlignment="Left" Margin="22,71,0,0" VerticalAlignment="Top"/>
             <Label Content="Kết Quả" HorizontalAlignment="Left" Margin="23,117,0,0" VerticalAlignment="Top" Width="63"/>
            

            <Button Content="Cộng" x:Name="cong1" Click="cong_Click_1" HorizontalAlignment="Right" VerticalAlignment="Top" Width="75" Margin="0,164,302,0"/>

            <Button Content="Nhân"  x:Name="nhan1" Click="nhan_Click_1" HorizontalAlignment="Left" VerticalAlignment="Top" Width="75" Margin="207,164,0,0"/>
            <Button Content="Chia" x:Name="chia1" Click="chia_Click_1" HorizontalAlignment="Left" VerticalAlignment="Top" Width="75" Margin="294,164,0,0"/>
            <Button Content="Thoát" Click="Button_Click_1" HorizontalAlignment="Right" VerticalAlignment="Top" Width="75" Margin="0,218,151,0"/>
            <Button Content="Trừ" Name="tru" Click="tru_Click_2" HorizontalAlignment="Right" VerticalAlignment="Top" Width="75" Margin="0,164,204,0"/>
            <Button Content="Reset" Name="re" Click="re_Click_1"  HorizontalAlignment="Left" Margin="282,218,0,0" VerticalAlignment="Top" Width="75"/>

        </Grid>

    </Grid>
</Window>
